Travelpayouts\components\httpClient\Client S

Total Complexity 50
Dependencies 2
Dependents 5
Total lines 287
Lines of code 162
Logical lines of code 57
Comment lines 21
Methods 39
Properties 15

Methods 39

Method Rating Maintainability Complexity Lines of code
request()
S
60 4 12
getClientOptions()
S
52 3 24
prepareUrl()
S
64 4 9
setClientOptions()
S
67 3 8
setAttribute()
S
75 2 5
getCompress()
S
82 1 3
getRedirection()
S
82 1 3
getHttpVersion()
S
82 1 3
getBlocking()
S
82 1 3
getHeaders()
S
82 1 3
getCookies()
S
82 1 3
getBody()
S
82 1 3
__construct()
S
76 1 4
getDecompress()
S
82 1 3
getSslverify()
S
82 1 3
setUserAgent()
S
79 1 3
getStream()
S
82 1 3
getFilename()
S
82 1 3
getUserAgent()
S
82 1 3
setMethod()
S
79 1 3
getTimeout()
S
82 1 3
setDecompress()
S
79 1 3
setFilename()
S
81 1 3
setHttpVersion()
S
81 1 3
get()
S
79 1 3
post()
S
79 1 3
head()
S
79 1 3
isValidMethod()
S
73 1 4
setTimeout()
S
79 1 3
setRedirection()
S
79 1 3
setBlocking()
S
79 1 3
setStream()
S
79 1 3
setHeaders()
S
79 1 3
setCookies()
S
79 1 3
setBody()
S
79 1 3
setCompress()
S
79 1 3
getClient()
S
82 1 3
setSslverify()
S
79 1 3
getMethod()
S
82 1 3